package rpc07;

import com.hl.rpc.common.Product;
import com.hl.rpc.service.IProdService;

/**
 * Created by yuanhailong on 2021/10/30.
 */
public class ProdServiceImp implements IProdService {
    @Override
    public Product find() {
        return new Product(1,"prod1");
    }

    @Override
    public Product findProdById(int id) {
        return new Product(id,"prod"+id);
    }
}
